﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProductForm.aspx.cs" Inherits="StoreSystem.ProductForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<asp:Label runat="server" ID="lblProductName" AssociatedControlID="txtProductName">שם מוצר</asp:Label>
        <asp:TextBox runat="server" ID="txtProductName"></asp:TextBox><br />
<asp:Label runat="server" ID="LabelItemPrice" AssociatedControlID="txtItemPrice">מחיר</asp:Label>
        <asp:TextBox runat="server" ID="txtItemPrice"></asp:TextBox><br />
<asp:Label runat="server" ID="LabelDescription" AssociatedControlID="txtDescription">תיאור מוצר</asp:Label>
        <asp:TextBox runat="server" ID="txtDescription"></asp:TextBox><br />
        <asp:Label runat="server" ID="LabelInStock" AssociatedControlID="TextBoxInStock">כמה יש?</asp:Label>
        <asp:TextBox runat="server" ID="TextBoxInStock"></asp:TextBox><br />
<asp:Label runat="server" ID="LabelQuantityUnitId" AssociatedControlID="txtQuantityUnitId">יחידת מידה</asp:Label>
        <asp:TextBox runat="server" ID="txtQuantityUnitId"></asp:TextBox><br />
        <asp:Button runat="server" Text="שמור" UseSubmitBehavior="true" ID="btnSubmit" OnClick="btn_click">
        </asp:Button>
        <asp:Label runat="server" Visible="false" ID="lblAdded">מוצר עודכן</asp:Label>



</asp:Content>
